package com.dcd.service.impl;

import com.dcd.mapper.Information_imagesMapper;
import com.dcd.pojo.Information_images;
import com.dcd.service.Information_imagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Information_imagesServiceImpl implements Information_imagesService {

    @Autowired(required = false)
    private Information_imagesMapper information_imagesMapper;

    /**
     * 查询首页今日要闻资讯图片
     * @return 返回图片和id
     */
    @Override
    public List<Information_images> select_index_Information_images() {
        return information_imagesMapper.select_index_Information_images();
    }
}
